import request from './service';


export const getOptions = () => {
  return request('/home/getOptions');
};

export const getInit = () => {
  return request('/home/getInitData');
};

export const getGithubData = (params = { page: 1, page_size: 20 }) => {
  return request('/home/getGithubData', params);
};

export const getProjectData = (params) => {
  return request('/home/getProjectData', params);
};
